package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class TransInScanListActivity extends UMWindowActivity {

	protected UMWindow TransInScanList = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMImageButton btn_menu = null;
protected XVerticalLayout panel0 = null;
protected XVerticalLayout panel5 = null;
protected UMFloatingExpandListView soutscanlistview = null;
protected XHorizontalLayout panel12 = null;
protected XHorizontalLayout panel14 = null;
protected UMCheckbox checkbox2 = null;
protected XVerticalLayout panel15 = null;
protected XHorizontalLayout panel16 = null;
protected UMLabel label12 = null;
protected UMLabel label13 = null;
protected XHorizontalLayout panel17 = null;
protected UMLabel label14 = null;
protected UMLabel label15 = null;
protected XHorizontalLayout panel18 = null;
protected UMLabel label16 = null;
protected UMLabel label17 = null;
protected XHorizontalLayout panel13 = null;
protected XHorizontalLayout panel19 = null;
protected UMCheckbox checkbox0 = null;
protected XVerticalLayout panel20 = null;
protected XHorizontalLayout panel21 = null;
protected UMLabel label18 = null;
protected UMLabel label19 = null;
protected UMLabel label20 = null;
protected UMLabel label21 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label10 = null;
protected UMLabel label11 = null;
protected XHorizontalLayout panel2 = null;
protected XRelativeLayout panel7 = null;
protected UMCheckbox checkbox1 = null;
protected UMLabel label9 = null;
protected UMButton button4 = null;
protected XVerticalLayout panel_btn = null;
protected UMButton btn_detail = null;
protected UMButton btn_edit = null;
protected UMButton btn_delete = null;
protected UMButton btn_cancel = null;

	
	protected final static int ID_TRANSINSCANLIST = 1180926924;
protected final static int ID_VIEWPAGE0 = 690629974;
protected final static int ID_NAVIGATORBAR0 = 557726769;
protected final static int ID_BUTTON0 = 1167046899;
protected final static int ID_LABEL0 = 259422463;
protected final static int ID_BTN_MENU = 657252031;
protected final static int ID_PANEL0 = 142167255;
protected final static int ID_PANEL5 = 53881978;
protected final static int ID_SOUTSCANLISTVIEW = 371694102;
protected final static int ID_PANEL12 = 488858903;
protected final static int ID_PANEL14 = 543773178;
protected final static int ID_CHECKBOX2 = 1930568417;
protected final static int ID_PANEL15 = 421171106;
protected final static int ID_PANEL16 = 1789583565;
protected final static int ID_LABEL12 = 1941466131;
protected final static int ID_LABEL13 = 195107930;
protected final static int ID_PANEL17 = 878866609;
protected final static int ID_LABEL14 = 1858679322;
protected final static int ID_LABEL15 = 326991449;
protected final static int ID_PANEL18 = 227336767;
protected final static int ID_LABEL16 = 280700676;
protected final static int ID_LABEL17 = 311880264;
protected final static int ID_PANEL13 = 2079766081;
protected final static int ID_PANEL19 = 1098629997;
protected final static int ID_CHECKBOX0 = 487164285;
protected final static int ID_PANEL20 = 490385314;
protected final static int ID_PANEL21 = 480763442;
protected final static int ID_LABEL18 = 1138436147;
protected final static int ID_LABEL19 = 1340843726;
protected final static int ID_LABEL20 = 1437559313;
protected final static int ID_LABEL21 = 6454591;
protected final static int ID_PANEL11 = 1988250928;
protected final static int ID_LABEL10 = 199068589;
protected final static int ID_LABEL11 = 930600785;
protected final static int ID_PANEL2 = 871136303;
protected final static int ID_PANEL7 = 1154561140;
protected final static int ID_CHECKBOX1 = 1922078165;
protected final static int ID_LABEL9 = 1433126387;
protected final static int ID_BUTTON4 = 394045005;
protected final static int ID_PANEL_BTN = 1038330570;
protected final static int ID_BTN_DETAIL = 1169906545;
protected final static int ID_BTN_EDIT = 1369983856;
protected final static int ID_BTN_DELETE = 1875104560;
protected final static int ID_BTN_CANCEL = 2079660174;

	
	
	@Override
	public String getControllerName() {
		return "TransInScanListController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		{ //soutscanlistview - action:soutscanlistview_onrestart
    UMEventArgs args = new UMEventArgs(TransInScanListActivity.this);
    actionSoutscanlistview_onrestart(soutscanlistview,args);

}

		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("TransInScanList",ID_TRANSINSCANLIST);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("btn_menu",ID_BTN_MENU);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("soutscanlistview",ID_SOUTSCANLISTVIEW);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("panel14",ID_PANEL14);
  idmap.put("checkbox2",ID_CHECKBOX2);
  idmap.put("panel15",ID_PANEL15);
  idmap.put("panel16",ID_PANEL16);
  idmap.put("label12",ID_LABEL12);
  idmap.put("label13",ID_LABEL13);
  idmap.put("panel17",ID_PANEL17);
  idmap.put("label14",ID_LABEL14);
  idmap.put("label15",ID_LABEL15);
  idmap.put("panel18",ID_PANEL18);
  idmap.put("label16",ID_LABEL16);
  idmap.put("label17",ID_LABEL17);
  idmap.put("panel13",ID_PANEL13);
  idmap.put("panel19",ID_PANEL19);
  idmap.put("checkbox0",ID_CHECKBOX0);
  idmap.put("panel20",ID_PANEL20);
  idmap.put("panel21",ID_PANEL21);
  idmap.put("label18",ID_LABEL18);
  idmap.put("label19",ID_LABEL19);
  idmap.put("label20",ID_LABEL20);
  idmap.put("label21",ID_LABEL21);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label10",ID_LABEL10);
  idmap.put("label11",ID_LABEL11);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("checkbox1",ID_CHECKBOX1);
  idmap.put("label9",ID_LABEL9);
  idmap.put("button4",ID_BUTTON4);
  idmap.put("panel_btn",ID_PANEL_BTN);
  idmap.put("btn_detail",ID_BTN_DETAIL);
  idmap.put("btn_edit",ID_BTN_EDIT);
  idmap.put("btn_delete",ID_BTN_DELETE);
  idmap.put("btn_cancel",ID_BTN_CANCEL);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //soutscanlistview - action:soutscanlistview_onload
    UMEventArgs args = new UMEventArgs(TransInScanListActivity.this);
    actionSoutscanlistview_onload(soutscanlistview,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","扫描记录"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button0_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"font-weight","bold"
,"width","0"
,"weight","1"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);
btn_menu = (UMImageButton)ThirdControl.createControl(new UMImageButton(context),ID_BTN_MENU
,"font-pressed-color","#e50011"
,"color","#919191"
,"icon-pressed-image","tab_more_touch.png"
,"onclick","action:btn_menu_onclick"
,"icon-height","25"
,"font-size","10"
,"valign","center"
,"icon-text-spacing","3"
,"imagebuttontype","icon"
,"icon-background-image","tab_more.png"
,"istogglebutton","false"
,"width","43"
,"checked","false"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"icon-width","25"
,"value","图标名称"
,"height","43"
);
navigatorbar0.addView(btn_menu);

return navigatorbar0;
}
public View getPanel14View(final UMActivity context,IBinderGroup binderGroup) {
panel14 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL14
,"width","40"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
checkbox2 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX2
,"bindfield","isChecked"
,"check-off-image","checkbox_noselect"
,"check-on-image","checkbox_select"
,"width","44"
,"onchange","action:checkbox2_onchange"
,"layout-type","hbox"
,"height","44"
);
panel14.addView(checkbox2);

return panel14;
}
public View getPanel16View(final UMActivity context,IBinderGroup binderGroup) {
panel16 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL16
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","60.0"
,"content","单据号："
,"height","wrap"
);
panel16.addView(label12);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"color","#000000"
,"font-size","14"
,"valign","center"
,"min-height","1"
,"widthwrap","34.0"
,"content","label"
,"bindfield","vbillcode"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","left"
,"height","wrap"
);
panel16.addView(label13);

return panel16;
}
public View getPanel17View(final UMActivity context,IBinderGroup binderGroup) {
panel17 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL17
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30"
);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","45.0"
,"content","物料："
,"height","wrap"
);
panel17.addView(label14);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","cmaterialvid_name"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel17.addView(label15);

return panel17;
}
public View getPanel18View(final UMActivity context,IBinderGroup binderGroup) {
panel18 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL18
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30.0"
);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"color","#000000"
,"width","75"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","扫描合计："
,"height","20.0"
);
panel18.addView(label16);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","sumScanedNum"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel18.addView(label17);

return panel18;
}
public View getPanel15View(final UMActivity context,IBinderGroup binderGroup) {
panel15 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL15
,"border-bottom-color","#C7C7C7"
,"background","#cecece"
,"border-bottom-width","1"
,"width","fill"
,"valign","CENTER"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
View panel16 = (View) getPanel16View((UMActivity)context,binderGroup);
panel15.addView(panel16);
View panel17 = (View) getPanel17View((UMActivity)context,binderGroup);
panel15.addView(panel17);
View panel18 = (View) getPanel18View((UMActivity)context,binderGroup);
panel15.addView(panel18);

return panel15;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"border-bottom-color","#C7C7C7"
,"background","#cecece"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","90"
);
View panel14 = (View) getPanel14View((UMActivity)context,binderGroup);
panel12.addView(panel14);
View panel15 = (View) getPanel15View((UMActivity)context,binderGroup);
panel12.addView(panel15);

return panel12;
}
public View getPanel19View(final UMActivity context,IBinderGroup binderGroup) {
panel19 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL19
,"margin-left","15"
,"width","40"
,"valign","center"
,"layout-type","hbox"
,"halign","LEFT"
,"height","fill"
);
checkbox0 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX0
,"bindfield","ischecked"
,"check-off-image","checkbox_noselect"
,"check-on-image","checkbox_select"
,"width","44"
,"onchange","action:checkbox0_onchange"
,"disabled","disabled"
,"layout-type","hbox"
,"height","44"
);
panel19.addView(checkbox0);

return panel19;
}
public View getPanel21View(final UMActivity context,IBinderGroup binderGroup) {
panel21 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL21
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30.0"
);
label18 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL18
,"color","#000000"
,"width","94.0"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"content","批次/序列号："
,"height","20.0"
);
panel21.addView(label18);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","vbatchcode"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel21.addView(label19);
label20 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL20
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","4.0"
,"content","/"
,"height","wrap"
);
panel21.addView(label20);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","vserialcode"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel21.addView(label21);

return panel21;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","30.0"
);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"color","#000000"
,"heightwrap","20.0"
,"width","wrap"
,"font-size","14"
,"font-family","default"
,"valign","center"
,"layout-type","hbox"
,"halign","center"
,"widthwrap","90.0"
,"content","扫描主数量："
,"height","wrap"
);
panel11.addView(label10);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","34.0"
,"content","label"
,"bindfield","nscannum"
,"heightwrap","20.0"
,"width","wrap"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","wrap"
);
panel11.addView(label11);

return panel11;
}
public View getPanel20View(final UMActivity context,IBinderGroup binderGroup) {
panel20 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL20
,"border-bottom-color","#C7C7C7"
,"background","#ffffff"
,"border-bottom-width","1"
,"width","fill"
,"valign","TOP"
,"layout-type","hbox"
,"halign","left"
,"height","fill"
);
View panel21 = (View) getPanel21View((UMActivity)context,binderGroup);
panel20.addView(panel21);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
panel20.addView(panel11);

return panel20;
}
public View getPanel13View(final UMActivity context,IBinderGroup binderGroup) {
panel13 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL13
,"border-bottom-color","#C7C7C7"
,"background","#FFFFFF"
,"border-bottom-width","1"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","60.0"
);
View panel19 = (View) getPanel19View((UMActivity)context,binderGroup);
panel13.addView(panel19);
View panel20 = (View) getPanel20View((UMActivity)context,binderGroup);
panel13.addView(panel20);

return panel13;
}
public View getSoutscanlistviewView(final UMActivity context,IBinderGroup binderGroup) {
soutscanlistview = (UMFloatingExpandListView)ThirdControl.createControl(new UMFloatingExpandListView(context),ID_SOUTSCANLISTVIEW
,"list-type","group"
,"collapsed","true"
,"onrestart","action:soutscanlistview_onrestart"
,"valign","TOP"
,"onload","action:soutscanlistview_onload"
,"layout","vbox"
,"bindfield","scanlist,row"
,"width","fill"
,"onitemclick","action:soutscanlistview_onitemclick"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
soutscanlistview.addListItemView("getPanel12View");
soutscanlistview.addListItemView("getPanel13View");

return soutscanlistview;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL5
,"width","fill"
,"weight","1"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","0"
);
View soutscanlistview = (View) getSoutscanlistviewView((UMActivity)context,binderGroup);
panel5.addView(soutscanlistview);

return panel5;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XRelativeLayout)ThirdControl.createControl(new XRelativeLayout(context),ID_PANEL7
,"width","0"
,"weight","1"
,"valign","CENTER"
,"layout-type","hbox"
,"halign","CENTER"
,"height","fill"
);
checkbox1 = (UMCheckbox)ThirdControl.createControl(new UMCheckbox(context),ID_CHECKBOX1
,"bindfield","isAllChecked"
,"check-off-image","checkbox_noselect"
,"top","10.0"
,"left","0.0"
,"onclick","action:checkbox1_onclick"
,"check-on-image","checkbox_select"
,"width","44"
,"checked","checked"
,"layout-type","relative"
,"height","44"
);
panel7.addView(checkbox1);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"font-size","14"
,"valign","center"
,"widthwrap","30.0"
,"content","全选"
,"heightwrap","20.0"
,"top","20.0"
,"left","40.0"
,"width","wrap"
,"font-family","default"
,"layout-type","relative"
,"halign","center"
,"height","wrap"
);
panel7.addView(label9);

return panel7;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","RIGHT"
,"height","60.0"
);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
panel2.addView(panel7);
button4 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON4
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:button4_onclick"
,"font-size","20"
,"valign","center"
,"margin-right","10"
,"margin-left","10"
,"heightwrap","29.0"
,"width","70"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","提交"
,"height","wrap"
);
panel2.addView(button4);

return panel2;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
panel0.addView(panel5);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
panel0.addView(panel2);

return panel0;
}
public View getPanel_btnView(final UMActivity context,IBinderGroup binderGroup) {
panel_btn = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_PANEL_BTN
,"heightwrap","180.0"
,"padding-left","20"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"padding-right","20"
,"height","wrap"
);
btn_detail = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_DETAIL
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_detail_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","详情"
,"height","40"
);
panel_btn.addView(btn_detail);
btn_edit = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_EDIT
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_edit_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","修改"
,"height","40"
);
panel_btn.addView(btn_edit);
btn_delete = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_DELETE
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_delete_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","删除"
,"height","40"
);
panel_btn.addView(btn_delete);
btn_cancel = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BTN_CANCEL
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"onclick","action:btn_cancel_onclick"
,"font-size","17"
,"valign","center"
,"border-radius","5"
,"background","#ffffff"
,"width","fill"
,"font-family","default"
,"margin-top","5"
,"layout-type","vbox"
,"halign","center"
,"value","取消"
,"height","40"
);
panel_btn.addView(btn_cancel);

return panel_btn;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);
View panel_btn = (View) getPanel_btnView((UMActivity)context,binderGroup);
viewPage0.addView(panel_btn);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
TransInScanList = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_TRANSINSCANLIST
,"layout","vbox"
,"controller","TransInScanListController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
TransInScanList.addView(viewPage0);

return (UMWindow)TransInScanList;
}

	
	public void actionCheckbox1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doAllChecked()",UMActivity.getViewId(control),args);
}
public void actionSoutscanlistview_onrestart(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "soutscanlistview_onrestart";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.loadScanList()",UMActivity.getViewId(control),args);
}
public void actionBtn_delete_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_delete_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.itemDelete()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.close()",UMActivity.getViewId(control),args);
}
public void actionBtn_menu_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_menu_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.showMenu()",UMActivity.getViewId(control),args);
}
public void actionBtn_edit_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_edit_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doEdit()",UMActivity.getViewId(control),args);
}
public void actionCheckbox2_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox2_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doChecked()",UMActivity.getViewId(control),args);
}
public void actionBtn_cancel_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_cancel_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.itemCancel()",UMActivity.getViewId(control),args);
}
public void actionSoutscanlistview_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "soutscanlistview_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.loadScanList()",UMActivity.getViewId(control),args);
}
public void actionButton4_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button4_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doCommit()",UMActivity.getViewId(control),args);
}
public void actionCheckbox0_onchange(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "checkbox0_onchange";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.doChecked()",UMActivity.getViewId(control),args);
}
public void actionBtn_detail_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "btn_detail_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.showDetail()",UMActivity.getViewId(control),args);
}
public void actionSoutscanlistview_onitemclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "soutscanlistview_onitemclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.showItemButton()",UMActivity.getViewId(control),args);
}


}
